package com.zlk.mybatis.mapper;

import com.zlk.mybatis.pojo.Emp;
import org.apache.ibatis.annotations.Param;

/**
 * @description: TODO
 * @author: 张刘宽
 * @date: 2022/10/4 16:17
 * @version: 1.0
 * @Software: IntelliJ IDEA
 */
public interface CacheMapper {
    /**
     * 根据员工id查询员工信息
     *
     * @param empId
     * @return
     */
    Emp getEmpById(@Param("empId") Integer empId);

    void insertEmp(Emp emp);
}
